.msg_main {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    .no_msg {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        user-select: none;
        p {
            text-align: center;
            width: 100%;
            font-size: 20px;
            color: #c8c8c8;
            i {
                font-size: 35px;
            }
        }
    }
    .msg_box {
        width: 100%;
        height: 100%;
        background: #eeeeee;
        flex-direction: column;
        display: flex;
        .header {
            width: 100%;
            flex-basis: 50px;
            font-size: 18px;
            border-bottom: 1px solid #ddd;
            background: #f8f8f8;
            line-height: 50px;
            text-align: center;
        }
        .msg_list {
            flex-grow: 1;
            height: calc(100% - 51px - 150px)
        }
        .input {
            width: 100%;
            flex-basis: 150px;
            background: #fff;
            .toolebar {
                height: 40px;
                display: flex;
                padding: 0 5px;
                .tools {
                    height: 30px;
                    margin: 5px 0;
                    font-size: 22px;
                    user-select: none;
                    text-align: center;
                    line-height: 28px;
                    cursor: pointer;
                    i {
                        font-size: 22px;
                        width: 30px;
                        display: inline-block;
                        height: 30px;
                        line-height: 28px;
                    }
                    &:active,
                    &.active {
                        background: #e7e7e7;
                    }
                    &.face {
                        position: relative;
                        .facebox {
                            position: absolute;
                            z-index: 9;
                            cursor: default;
                            width: 370px;
                            height: 220px;
                            overflow: hidden;
                            overflow-y: auto;
                            padding: 5px 0;
                            bottom: 35px;
                            background: #fff;
                            border: 1px solid #edeae8;
                            display: flex;
                            flex-wrap: wrap;
                            justify-content: space-around;
                            span {
                                width: 30px;
                                height: 30px;
                                display: inline-block;
                                font-size: 20px;
                                &:active {
                                    background: #e0e0e0;
                                }
                            }
                        }
                    }
                    &.printuser {
                        font-size: 12px;
                        line-height: 30px;
                        float: right;
                        padding-right: 5px;
                    }
                }
            }
            .text {
                height: 110px;
                textarea {
                    width: 100%;
                    height: 75px;
                    padding: 0 10px 5px;
                    outline: none;
                    border: none;
                    resize: none;
                    font-size: 14px;
                    color: #333;
                    text-align: justify;
                }
                &::-webkit-scrollbar {
                    margin-right: 2px;
                    width: 15px
                }
                &::-webkit-scrollbar-track-piece {
                    border-left: 1px solid #D2D2D2;
                    background-color: #F5F5F5
                }
                &::-webkit-scrollbar-thumb {
                    width: 10px;
                    background: #CBCBCB
                }
                &::-webkit-scrollbar-thumb:hover {
                    background: #4CACE2
                }
                .btn {
                    user-select: none;
                    width: 100%;
                    height: 35px;
                    text-align: right;
                    button {
                        width: 60px;
                        height: 25px;
                        margin: 2.5px;
                        border: 0px;
                        background: #129611;
                        color: #fff;
                        cursor: pointer;
                        outline: none;
                        &:active {
                            opacity: 0.8;
                        }
                    }
                }
            }
        }
    }
}